#include "widget.h"
#include "ui_widget.h"
#include<QIcon>
#include<QDir>
#include<QLabel>

Widget::Widget(QWidget *parent)
    : QWidget(parent)
    , ui(new Ui::Widget)
{
    ui->setupUi(this);
    QIcon icon(":/weixin.png");
    this->setWindowTitle("微信");
    this->setWindowIcon(icon);
    QString currentDir=QDir::currentPath();
    QLabel* label=new QLabel(this);
    label->setText(currentDir);
}

Widget::~Widget()
{
    delete ui;
}

